FigureShape.AddCubic Method

Adds a cubic curve to the figure. The starting and ending points are x,y and x2, y2, respectively.

Syntax

FigureShape.AddCubic X, Y, X2, Y2, CX, CY, CX2, CY2

Parameters

X

Single

Y

Single

X2

Single

Y2

Single

CX

Single

CY

Single

CX2

Single

CY2

Single

Notes

This is a shortcut for adding a CurveShape. CX, CY, CX2, and CY2 are the control points, Control X(i) and ControlY(i) in CurveShape.